result = '*'
for i in range(1,6):
    print(result)
    result=result+'*'

i=5
result1='*'
while i>0:
    print(result1)
    result1= result1+'*'
    i-=1